import { createApp } from 'vue';
import ElementPlus from 'element-plus';
import zhCn from 'element-plus/es/locale/lang/zh-cn';
import 'element-plus/dist/index.css';
import { store } from '@/pinia';
import App from './App.vue';
import '@/assets/style/global/default.css';
import '@/assets/style/base.css';
import '@/assets/style/codeless.css';
import 'default-passive-events';
import router from './router';

const app = createApp(App);
app.config.productionTip = false;

app
  .use(store)
  .use(router)
  .use(ElementPlus, { locale: zhCn })
  .mount('#app');

export default app;
